ACLOCAL_AMFLAGS = -I m4
MAINTAINERCLEANFILES = Makefile.in
MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess config.h.in \
		       config.sub configure depcomp install-sh ltmain.sh \
		       missing config.rpath mkinstalldirs 
SUBDIRS = 

INCLUDES = -I. \
         -I$(top_srcdir) \
	-Wall	\
	@e_cflags@  
LDCLAGS=@e_libs@

applicationsdir = $(pkgdatadir)/../applications/

filesdir = $(pkgdatadir)

bin_PROGRAMS =comic_packer \
	      comic_viewer

noinst_HEADERS =   comic_packer.h

comic_packer_SOURCES = comic_packer.c \
			   main.c
comic_packer_LDADD = @e_libs@ 

comic_viewer_SOURCES = comic_packer.c \
			   viewer.c

comic_viewer_LDADD = @e_libs@ 

files_BIN = comic_packer \
	    comic_viewer

	     
EXTRA_DIST = $(files_BIN)

%.edj: %.edc
	$(EDJE_CC) $(EDJE_FLAGS) $< $@
	
clean-local:
	rm -rf *.edj *~
	
uninstall-hook:
	rm -rf $(datadir)


indent:
	astyle --style=linux -p -t -n --brackets=attach *.[ch]
